package com.cssy.yd.logic.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.byd.acegiext.domain.User;
import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicSoWareDO;
import com.cssy.yd.logic.entity.LogicSoWareItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;

public interface ILogicSoWareService extends IBaseService<LogicSoWareDO> {

	@Transactional
	public void soWareSave(HttpServletRequest request,LogicSoWareDO logicPoDO)throws SyBaseException;
	
	public SearchResult findListByExample(SearchConditions scs)
			throws SyBaseException;
	
	public Integer delete(String id, User user) throws SyBaseException;
	
	public Integer update(LogicSoWareDO t, User user) throws SyBaseException;
	
	public LogicSoWareDO save(LogicSoWareDO t, User user)
			throws SyBaseException;
	
	public LogicSoWareDO findListById(String id) throws SyBaseException;
	
	public List<LogicSoWareItemDO> findItemListBypoId(String id) throws SyBaseException;
	
	
}
